ShortPixel\Controller\AdminNoticesController D

Total Complexity 147
Dependencies 7
Dependents 9
Total lines 927
Lines of code 598
Logical lines of code 339
Comment lines 128
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
doAPINotices()
B
45 17 38
parse_readme_content()
A
44 15 45
displayNotices()
A
43 12 47
doRemoteNotices()
A
48 10 33
doQuotaNotices()
A
46 8 40
doListViewNotice()
A
49 7 31
proposeUpgradeRemote()
S
47 6 34
getQuotaExceededMessage()
S
43 4 52
get_update_notice()
S
54 6 21
get_remote_notices()
S
50 5 30
doCompatNotices()
S
57 5 17
getConflictMessage()
S
56 5 16
doIntegrationNotices()
S
58 4 14
getMonthAvg()
S
61 4 11
doUnlistedNotices()
S
64 4 9
check_admin_notices()
S
61 3 14
monthlyUpgradeNeeded()
S
62 3 12
parse_update_notice()
S
61 3 12
pluginUpdateMessage()
S
62 3 11
__construct()
S
64 3 8
markdown2html()
S
60 2 14
getInstance()
S
73 2 5
upgradeBulkCallback()
S
72 2 6
invokeLegacyNotice()
S
59 1 12
resetIntegrationNotices()
S
80 1 3
resetAllNotices()
S
81 1 3
resetCompatNotice()
S
80 1 3
resetAPINotices()
S
74 1 5
resetQuotaNotices()
S
74 1 5
getActivationNotice()
S
66 1 8
bulkUpgradeNeeded()
S
71 1 6
resetLegacyNotice()
S
80 1 3
proposeUpgradePopup()
S
76 1 4
getMonthlyUpgradeMessage()
S
66 1 7
getBulkUpgradeMessage()
S
66 1 7
getUnlistedMessage()
S
64 1 9
reInstateQuotaExceeded()
S
80 1 3